def decorator(func):
    def inner():
        print("before")
        nei = func()  # 调用原来的函数
        print("after")
        return nei

    return inner


@decorator
def fun1():
    print("我是func1函数")
    value = (11, 22, 33, 44)
    return value


@decorator
def fun2():
    print("我是func2函数")
    value = (11, 22, 33, 44)
    return value


@decorator
def fun3():
    print("我是func3函数")
    value = (11, 22, 33, 44)
    return value


aa = fun1()
print(aa)
bb = fun2()
print(bb)
cc = fun3()
print(cc)
